package com.atguigu.educms.mapper;

import com.atguigu.educms.entity.CmsContent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 文章详情表 Mapper 接口
 * </p>
 *
 * @author Panghl
 * @since 2021-03-11
 */
public interface CmsContentMapper extends BaseMapper<CmsContent> {

    /**
     * 更新文章啊评论数
     * @param contentId
     * @param commentNum
     */
    void updateNumById(@Param("contentId") Integer contentId,@Param("commentNum") Integer commentNum);
}
